package com.cn.yds.bdy.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

@ApiModel(value = "update")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UpdateVo implements Serializable {
    /**
     * user account str
     */
    @ApiModelProperty(value = "用户", name = "account", required = true)
    @NotEmpty(message = "account not allow empty!")
    @Size(min = 1, max = 50)
    private String loginId;

    /**
     * user name  str
     */
    @ApiModelProperty(value = "姓名", name = "name", required = true)
    @NotEmpty(message = "account not allow empty!")
    @Size(min = 1, max = 50)
    private String name;

    /**
     * user password str
     */
    @ApiModelProperty(value = "密码", name = "password", required = true)
    @NotEmpty(message = "password not allow empty!")
    private String password;

    /**
     * user academy ;
     */
    @ApiModelProperty(value = "学院", name = "academy", required = true)
    @NotNull(message = "please choose your academy !")
    private String academy;
    /**
     * user major
     * */
    @ApiModelProperty(value = "专业", name = "major", required = true)
    @NotNull(message = "please choose your major !")
    private String major;

    /**
     * user grade
     * */
    @ApiModelProperty(value = "年级", name = "grade", required = true)
    @NotNull(message = "please choose your major !")
    private String grade;

    /**
     * user gender
     * */
    @ApiModelProperty(value = "性别", name = "gender", required = true)
    @NotNull(message = "please choose your major !")
    private String gender;

    /**
     * user research__direction
     * */
    @ApiModelProperty(value = "研究方向", name = "research__direction", required = true)
    @NotNull(message = "please choose your major !")
    private String research__direction;

    /**
     * user title
     * */
    @ApiModelProperty(value = "职称", name = "title", required = true)
    @NotNull(message = "please choose your major !")
    private String title;

    /**
     * user description
     * */
    @ApiModelProperty(value = "简介", name = "description", required = true)
    @NotNull(message = "please choose your major !")
    private String description;

}
